﻿using System;
using System.Collections.Generic;
using System.Data;
using System.Text;
using DAL;

namespace BLL
{
   public class JjProcBiz
    {
        JjProcDao jjProcDao = new JjProcDao();
        public bool Update(SortedDictionary<string, string> sdList)
        {
            return jjProcDao.Update(sdList);
        }
        public bool Insert(SortedDictionary<string, string> sdList)
        {
            return jjProcDao.Insert(sdList);
        }
        public bool Delete(string procCode)
        {
            return jjProcDao.Delete(procCode);
        }
        public DataTable GetOneInfo(string procCode)
        {
            return jjProcDao.GetOneInfo(procCode);
        }
        public bool IsExist(string procCode)
        {
            return jjProcDao.IsExist(procCode);
        }
        public DataTable GetLists(string proCode)
        {
            return jjProcDao.GetLists(proCode);
        }
       //ddl
        public DataTable GetLists(string proCode,string statu)
        {
            return jjProcDao.GetLists(proCode, statu);
        }
    }
}
